import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 列表查询-审核
export const getList = params => axios.post(`${SERVER.WHOLESALES}/bigCustomer/queryListAudit`, params);
// 列表查询-查询
export const getQueryList = params => axios.post(`${SERVER.WHOLESALES}/bigCustomer/queryListInfo`, params);
// 查询详情
export const getDetail = params => axios.get(`${SERVER.WHOLESALES}/bigCustomer/queryBigCustomerById`, { params });
//查询车系
export const queryAllSeries = () => axios.get(`${SERVER.WHOLESALES}/baseData/queryAllSeries`);
//查询车型
export const queryAllModelBySeries = params => axios.get(`${SERVER.WHOLESALES}/baseData/queryAllModelBySeriesId`, { params });
// 审核驳回
export const rejectBigCustomer = params => axios.post(`${SERVER.WHOLESALES}/bigCustomer/rejectBigCustomer`, params);
// 通过  /bigCustomer/passBigCustomer
export const passBigCustomer = params => axios.post(`${SERVER.WHOLESALES}/bigCustomer/passBigCustomer`, params);
